package service;

import dao.UserDAO;
import domain.User;

public class UserService {

	UserDAO userDao=new UserDAO();
	public User authenticateUser(String email, String password)
	{
		return userDao.selectUserByEmailAndPassword(email, password);		
	}
	public User getUserByUid(long uid)
	{
		return userDao.selectUserByUid(uid);
	}
	
}
